package com.heima.behavior.entity;

/*import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;*/
import java.util.Date;
/*import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;*/
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * <p>
 * APP关注行为表
 * </p>
 *
 * @author syl
 * @since 2023-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Document("ap_follow_behavior")
@ApiModel(description="APP关注行为表")
public class ApFollowBehavior implements Serializable {

    private static final long serialVersionUID = 1L;

    //@TableId(value = "id", type = IdType.AUTO)
    @Id
    private ObjectId id;

    /**
     * 实体ID
     */
    @ApiModelProperty(value = "实体ID")
   // @TableField("entry_id")

    @Field("entry_id")
    private String entryId;

    /**
     * 关注用户ID
     */
    @ApiModelProperty(value = "关注用户ID")
   // @TableField("follow_id")
    @Field("follow_id")
    private Integer followId;

    /**
     * 操作类型: 0 关注 1 取消关注
     */
    @ApiModelProperty(value = "操作类型: 0 关注 1 取消关注")
   // @TableField("operation")
    @Field("operation")
    private Integer operation;

    /**
     * 登录时间
     */
    @ApiModelProperty(value = "登录时间")
    //@TableField("created_time")
    @Field("created_time")
    private Date createdTime;


}
